#include "src/RayCasting.h"
#include "src/Display.h"

int main(int argc, char **argv) {
    auto volume = new Volume;
    volume->generate();

    auto rayCasting = new RayCasting(volume);
    rayCasting->exec();

    // 使用OpenGL显示此二维图像
    auto display = new Display(rayCasting, argc, argv);
    display->exec();
}
